#!/usr/bin/python
# -*- coding: UTF-8 -*-


# 所有员工的基类
class Employee:
    empCount = 0

    def __init__(self, name, salary):
        self.name = name
        self.salary = salary
        Employee.empCount += 1

    def display_no(self):
        print("Total Employee %d" % Employee.empCount)

    def display_employee(self):
        print("Name: ", self.name, " , Salary: ", self.salary)


emp01 = Employee("Zara", 2000)
emp02 = Employee("Manni", 4500)

emp01.display_employee()
emp02.display_employee()

print("Total Employee %d" % Employee.empCount)

print("Employee.__doc__:", Employee.__doc__)
print("Employee.__name__", Employee.__name__)
print("Employee.__module__", Employee.__module__)
print("Employee.__based__", Employee.__bases__)
print("Employee.__dict__", Employee.__dict__)
